Just took some time to organize how the files are structured. Now I have a chronological order and also a activity view.


I think this is very well structured. I also added indications when a page was updated
Image links for markdown image links
Previously I was using Obsidian embed wikilinks for images, for traditional markdown image links ![]()
I had to add this to the config:
use(function(md) {
// Patch image src to start with /
md.renderer.rules.image = function(tokens, idx, options, env, self) {
const token = tokens[idx];
if (token.attrs) {
const srcAttr = token.attrs.find(attr => attr[0] === "src");
if (srcAttr && srcAttr[1] && !srcAttr[1].startsWith("/")) {
// Only patch relative links
srcAttr[1] = "/" + srcAttr[1];
}
}
return self.renderToken(tokens, idx, options);
};
});